package com.kuang.base;

/**
 * @author wuJiaWei
 * @version 1.0
 * @since 1.8
 * @date 2024/8/7
 * @time 14:45:42
 */
public class Demo03 {
    public static void main(String[] args) {
        //三元运算
        int a = 10;
        int b = 20;
        int max = (a > b) ? a : b;
        System.out.println(max); //20
    }
}
